package com.apps.controller;

import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayClient;
import com.alipay.api.DefaultAlipayClient;
import com.alipay.api.request.AlipayTradePagePayRequest;
import com.apps.goods.service.IKupaGoodsService;
import com.apps.sworld.sController;
import com.qq.connect.oauth.Oauth;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apache.http.HttpResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 不需要登录的页面放这
 */
@Slf4j
@Controller
@RequestMapping("/page/archive")
public class ArchiveController implements sController
{

    /**
     * 文档详情页
     * @param modelAndView
     * @param request
     * @return
     */
    @RequestMapping("/archive.html")
    public ModelAndView Archive(ModelAndView modelAndView,
                            HttpServletRequest request)
    {
        modelAndView.setViewName("home/archive");
        return modelAndView;
    }


}
